<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>SLM: Manage the snapshot lifecycle | ElasticSearch 7.7 权威指南中文版</title>
	<meta name="keywords" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <meta name="description" content="ElasticSearch 权威指南中文版, elasticsearch 7, es7, 实时数据分析，实时数据检索" />
    <!-- Give IE8 a fighting chance -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" type="text/css" href="../static/styles.css" />
	<script>
	var _link = 'snapshot-lifecycle-management.html';
    </script>
</head>
<body>
<div class="main-container">
    <section id="content">
        <div class="content-wrapper">
            <section id="guide" lang="zh_cn">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 col-sm-8 col-md-8 guide-section">
                            <div style="color:gray; word-break: break-all; font-size:12px;">原英文版地址: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.7/snapshot-lifecycle-management.html" rel="nofollow" target="_blank">https://www.elastic.co/guide/en/elasticsearch/reference/7.7/snapshot-lifecycle-management.html</a>, 原文档版权归 www.elastic.co 所有<br/>本地英文版地址: <a href="../en/snapshot-lifecycle-management.html" rel="nofollow" target="_blank">../en/snapshot-lifecycle-management.html</a></div>
                        <!-- start body -->
                  <div class="page_header">
<strong>重要</strong>: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html" rel="nofollow">当前版本文档</a>。
</div>
<div id="content">
<div class="breadcrumbs">
<span class="breadcrumb-link"><a href="index.html">Elasticsearch Guide [7.7]</a></span>
»
<span class="breadcrumb-link"><a href="snapshot-restore.html">Snapshot and restore</a></span>
»
<span class="breadcrumb-node">SLM: Manage the snapshot lifecycle</span>
</div>
<div class="navheader">
<span class="prev">
<a href="snapshots-monitor-snapshot-restore.html">« Monitor snapshot and restore progress</a>
</span>
<span class="next">
<a href="getting-started-snapshot-lifecycle-management.html">Tutorial: Automate backups with SLM »</a>
</span>
</div>
<div class="chapter xpack">
<div class="titlepage"><div><div>
<h2 class="title">
<a id="snapshot-lifecycle-management"></a>SLM: Manage the snapshot lifecycle<a class="edit_me edit_me_private" rel="nofollow" title="Editing on GitHub is available to Elastic" href="https://github.com/elastic/elasticsearch/edit/7.7/docs/reference/slm/index.asciidoc">edit</a><a class="xpack_tag" href="https://www.elastic.co/subscriptions"></a>
</h2>
</div></div></div>
<p>You can set up snapshot lifecycle policies to automate the timing, frequency, and retention of snapshots.
Snapshot policies can apply to multiple indices.</p>
<p>The snapshot lifecycle management (SLM) <a class="xref" href="snapshot-lifecycle-management-api.html" title="Snapshot lifecycle management API">CRUD APIs</a> provide
the building blocks for the snapshot policy features that are part of Kibana Management.
<a href="https://www.elastic.co/guide/en/kibana/7.7/snapshot-repositories.html" class="ulink" target="_top">Snapshot and Restore</a> makes it easy to
set up policies, register snapshot repositories, view and manage snapshots, and restore indices.</p>
<p>You can stop and restart SLM to temporarily pause automatic backups while performing
upgrades or other maintenance.
To disable SLM entirely, set <code class="literal">xpack.slm.enabled</code> to <code class="literal">false</code> in <code class="literal">elasticsearch.yml</code>.</p>



</div>
<div class="navfooter">
<span class="prev">
<a href="snapshots-monitor-snapshot-restore.html">« Monitor snapshot and restore progress</a>
</span>
<span class="next">
<a href="getting-started-snapshot-lifecycle-management.html">Tutorial: Automate backups with SLM »</a>
</span>
</div>
</div>

                  <!-- end body -->
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-4" id="right_col">
                        
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </section>
</div>
<script src="../static/cn.js"></script>
</body>
</html>